<?php
class indexAction extends rareAction{
	public function	execute(){
		//获取分类的类型(product,news)
		$type = $this->getGetParam('type',0);
		$this->assign('type',$type);
		$topCate = service_category::getTopCate($type);
		$cates = service_category::getAll($type);
		$this->assign('topCate',$topCate);
		$this->assign('cates',$cates);
	}
}
?>
